<template>
    <cl-button icon="cl-icon-position" disabled round loading>按钮</cl-button>
    <cl-button type="success" @click="buttonClick">成功按钮</cl-button>
    <cl-button type="danger">危险按钮</cl-button>
    <br/>
    <cl-button-group>
        <cl-button icon="cl-icon-position">上一页</cl-button>
        <cl-button>
            下一页
            <i class="cl-icon-position"></i>
        </cl-button>
    </cl-button-group>
    <!-- <cl-icon name="loading"></cl-icon> -->
</template>
<script lang="ts">
import { defineComponent } from 'vue'
import { useButton } from '../hooks/useButton'
export default defineComponent({
    setup() {
        return {
            ...useButton()
        }
    },

})
</script>
